import request from '@/utils/request'

// 获取记录信息
export function list(queryParams) {
  return request({
    url: '/Empment/shouhou/recondition/list',
    method: 'get',
    params: queryParams
  });
}

// 添加数据
export function insert(data) {
  return request({
    url: '/Empment/shouhou/recondition/insert',
    method: 'post',
    data: data
  });
}


// 修改数据
export function update(data) {
  return request({
    url: '/Empment/shouhou/recondition/update',
    method: 'put',
    data: data
  });
}

// 翻新操作
export function shouhouFanxin(data) {
  return request({
    url: '/Empment/shouhou/recondition/fanxin',
    method: 'put',
    data: data
  });
}


// 入库
export function fanxinRuku(data){
  return request({
    url: '/Empment/shouhou/recondition/ruku',
    method:'delete',
    data:data
  })
}
